package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (Groups)实体类
 *
 * @author makejava
 * @since 2020-10-26 20:28:29
 */
@ApiModel(value = "员工分组")
public class Groups implements Serializable {
    private static final long serialVersionUID = 409201208097890117L;
    /**
     * 分组id
     */
    @ApiModelProperty(name = "groupId",notes = "分组id",value = "分组id")
    private Integer groupId;
    /**
     * 分组名称
     */
    @ApiModelProperty(name = "groupName",notes = "分组名称",required = true,value = "分组名称")
    private String groupName;
    /**
     * 分组备注
     */
    @ApiModelProperty(name = "groupNote",notes = "分组备注",value = "分组备注")
    private String groupNote;
    /**
     * 分店编码(外键)
     */
    @ApiModelProperty(name = "branchCode",notes = "分店编码",value = "分组编码")
    private Integer branchCode;

    /**
     * 分组
     */
    private Branch branch;

    /**
     * 分店状态
     */
    @ApiModelProperty(name = "groupType",notes = "分店状态",value = "分店状态")
    private Integer groupType;

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getGroupNote() {
        return groupNote;
    }

    public void setGroupNote(String groupNote) {
        this.groupNote = groupNote;
    }

    public Integer getBranchCode() {
        return branchCode;
    }

    public void setBranchCode(Integer branchCode) {
        this.branchCode = branchCode;
    }

    public Integer getGroupType() {
        return groupType;
    }

    public void setGroupType(Integer groupType) {
        this.groupType = groupType;
    }

    @Override
    public String toString() {
        return "Groups{" +
                "groupId=" + groupId +
                ", groupName='" + groupName + '\'' +
                ", groupNote='" + groupNote + '\'' +
                ", branchCode=" + branchCode +
                '}';
    }
}